<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
</html><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Pagination </title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Dropdown </title>
    <!--    Dropdown 下拉菜单-->
    <!--    将动作或菜单折叠到下拉菜单中。-->
    <!--    导入elementui插件-->
    <!-- 引入ElementUI样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <script src="https://unpkg.com/vue/dist/vue.js"></script>
    <!-- 引入ElementUI组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>
<body>
<div id="app">
    <!--@current-change
    当我的页码发生改变的时候我会进行触发-->
    <!--      layout="total, prev, pager, next, jumper"   对应的按钮-->
    <el-pagination
            @current-change="handleCurrentChange"
            current-page="5"
            page-size="10"
            layout="total, prev, pager, next, jumper"
            :total="305">
    </el-pagination>
</div>


<script>
    new Vue({
        el:'#app',
        methods:{
            handleCurrentChange(page){
                alert(page);
            }
        }
    });
</script>

</body>
</html>
</body>
</html>